Optimal. Leaf size=103 \[ -\frac{(423 x+1367) (d+e x)}{7000 \left (5 x^2+2 x+3\right )^2}+\frac{x (11015 d+36353 e)+34347 d-6511 e}{196000 \left (5 x^2+2 x+3\right )}+\frac{(42375 d-34207 e) \tan ^{-1}\left (\frac{5 x+1}{\sqrt{14}}\right )}{196000 \sqrt{14}}+\frac{2}{125} e \log \left (5 x^2+2 x+3\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.145351, antiderivative size = 103, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 36, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {1644, 1660, 634, 618, 204, 628} \[ -\frac{(423 x+1367) (d+e x)}{7000 \left (5 x^2+2 x+3\right )^2}+\frac{x (11015 d+36353 e)+34347 d-6511 e}{196000 \left (5 x^2+2 x+3\right )}+\frac{(42375 d-34207 e) \tan ^{-1}\left (\frac{5 x+1}{\sqrt{14}}\right )}{196000 \sqrt{14}}+\frac{2}{125} e \log \left (5 x^2+2 x+3\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1644
Rule 1660
Rule 634
Rule 618
Rule 204
Rule 628
Rubi steps
\begin{align*} \int \frac{(d+e x) \left (2+x+3 x^2-5 x^3+4 x^4\right )}{\left (3+2 x+5 x^2\right )^3} \, dx &=-\frac{(1367+423 x) (d+e x)}{7000 \left (3+2 x+5 x^2\right )^2}+\frac{1}{112} \int \frac{\frac{2}{125} (3267 d+1367 e)-\frac{12}{25} (308 d-123 e) x+\frac{112}{25} (20 d-33 e) x^2+\frac{448 e x^3}{5}}{\left (3+2 x+5 x^2\right )^2} \, dx\\ &=-\frac{(1367+423 x) (d+e x)}{7000 \left (3+2 x+5 x^2\right )^2}+\frac{34347 d-6511 e+(11015 d+36353 e) x}{196000 \left (3+2 x+5 x^2\right )}+\frac{\int \frac{\frac{4}{25} (8475 d-5587 e)+\frac{25088 e x}{25}}{3+2 x+5 x^2} \, dx}{6272}\\ &=-\frac{(1367+423 x) (d+e x)}{7000 \left (3+2 x+5 x^2\right )^2}+\frac{34347 d-6511 e+(11015 d+36353 e) x}{196000 \left (3+2 x+5 x^2\right )}+\frac{(42375 d-34207 e) \int \frac{1}{3+2 x+5 x^2} \, dx}{196000}+\frac{1}{125} (2 e) \int \frac{2+10 x}{3+2 x+5 x^2} \, dx\\ &=-\frac{(1367+423 x) (d+e x)}{7000 \left (3+2 x+5 x^2\right )^2}+\frac{34347 d-6511 e+(11015 d+36353 e) x}{196000 \left (3+2 x+5 x^2\right )}+\frac{2}{125} e \log \left (3+2 x+5 x^2\right )+\frac{(-42375 d+34207 e) \operatorname{Subst}\left (\int \frac{1}{-56-x^2} \, dx,x,2+10 x\right )}{98000}\\ &=-\frac{(1367+423 x) (d+e x)}{7000 \left (3+2 x+5 x^2\right )^2}+\frac{34347 d-6511 e+(11015 d+36353 e) x}{196000 \left (3+2 x+5 x^2\right )}+\frac{(42375 d-34207 e) \tan ^{-1}\left (\frac{1+5 x}{\sqrt{14}}\right )}{196000 \sqrt{14}}+\frac{2}{125} e \log \left (3+2 x+5 x^2\right )\\ \end{align*}
Mathematica [A] time = 0.0804348, size = 107, normalized size = 1.04 \[ \frac{-2115 d x-6835 d-5989 e x+1269 e}{35000 \left (5 x^2+2 x+3\right )^2}+\frac{55075 d x+171735 d+181765 e x-44399 e}{980000 \left (5 x^2+2 x+3\right )}+\frac{(42375 d-34207 e) \tan ^{-1}\left (\frac{5 x+1}{\sqrt{14}}\right )}{196000 \sqrt{14}}+\frac{2}{125} e \log \left (5 x^2+2 x+3\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.053, size = 102, normalized size = 1. \begin{align*} 25\,{\frac{1}{ \left ( 5\,{x}^{2}+2\,x+3 \right ) ^{2}} \left ( \left ({\frac{36353\,e}{980000}}+{\frac{2203\,d}{196000}} \right ){x}^{3}+ \left ({\frac{28307\,e}{4900000}}+{\frac{38753\,d}{980000}} \right ){x}^{2}+ \left ({\frac{57761\,e}{4900000}}+{\frac{17979\,d}{980000}} \right ) x+{\frac{12953\,d}{980000}}-{\frac{19533\,e}{4900000}} \right ) }+{\frac{2\,e\ln \left ( 5\,{x}^{2}+2\,x+3 \right ) }{125}}+{\frac{339\,\sqrt{14}d}{21952}\arctan \left ({\frac{ \left ( 10\,x+2 \right ) \sqrt{14}}{28}} \right ) }-{\frac{34207\,\sqrt{14}e}{2744000}\arctan \left ({\frac{ \left ( 10\,x+2 \right ) \sqrt{14}}{28}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.48458, size = 136, normalized size = 1.32 \begin{align*} \frac{1}{2744000} \, \sqrt{14}{\left (42375 \, d - 34207 \, e\right )} \arctan \left (\frac{1}{14} \, \sqrt{14}{\left (5 \, x + 1\right )}\right ) + \frac{2}{125} \, e \log \left (5 \, x^{2} + 2 \, x + 3\right ) + \frac{5 \,{\left (11015 \, d + 36353 \, e\right )} x^{3} +{\left (193765 \, d + 28307 \, e\right )} x^{2} +{\left (89895 \, d + 57761 \, e\right )} x + 64765 \, d - 19533 \, e}{196000 \,{\left (25 \, x^{4} + 20 \, x^{3} + 34 \, x^{2} + 12 \, x + 9\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.26263, size = 558, normalized size = 5.42 \begin{align*} \frac{70 \,{\left (11015 \, d + 36353 \, e\right )} x^{3} + 14 \,{\left (193765 \, d + 28307 \, e\right )} x^{2} + \sqrt{14}{\left (25 \,{\left (42375 \, d - 34207 \, e\right )} x^{4} + 20 \,{\left (42375 \, d - 34207 \, e\right )} x^{3} + 34 \,{\left (42375 \, d - 34207 \, e\right )} x^{2} + 12 \,{\left (42375 \, d - 34207 \, e\right )} x + 381375 \, d - 307863 \, e\right )} \arctan \left (\frac{1}{14} \, \sqrt{14}{\left (5 \, x + 1\right )}\right ) + 14 \,{\left (89895 \, d + 57761 \, e\right )} x + 43904 \,{\left (25 \, e x^{4} + 20 \, e x^{3} + 34 \, e x^{2} + 12 \, e x + 9 \, e\right )} \log \left (5 \, x^{2} + 2 \, x + 3\right ) + 906710 \, d - 273462 \, e}{2744000 \,{\left (25 \, x^{4} + 20 \, x^{3} + 34 \, x^{2} + 12 \, x + 9\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 1.65198, size = 163, normalized size = 1.58 \begin{align*} \left (\frac{2 e}{125} - \frac{\sqrt{14} i \left (42375 d - 34207 e\right )}{5488000}\right ) \log{\left (x + \frac{8475 d - \frac{34207 e}{5} - \frac{\sqrt{14} i \left (42375 d - 34207 e\right )}{5}}{42375 d - 34207 e} \right )} + \left (\frac{2 e}{125} + \frac{\sqrt{14} i \left (42375 d - 34207 e\right )}{5488000}\right ) \log{\left (x + \frac{8475 d - \frac{34207 e}{5} + \frac{\sqrt{14} i \left (42375 d - 34207 e\right )}{5}}{42375 d - 34207 e} \right )} + \frac{64765 d - 19533 e + x^{3} \left (55075 d + 181765 e\right ) + x^{2} \left (193765 d + 28307 e\right ) + x \left (89895 d + 57761 e\right )}{4900000 x^{4} + 3920000 x^{3} + 6664000 x^{2} + 2352000 x + 1764000} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.16485, size = 131, normalized size = 1.27 \begin{align*} \frac{1}{2744000} \, \sqrt{14}{\left (42375 \, d - 34207 \, e\right )} \arctan \left (\frac{1}{14} \, \sqrt{14}{\left (5 \, x + 1\right )}\right ) + \frac{2}{125} \, e \log \left (5 \, x^{2} + 2 \, x + 3\right ) + \frac{5 \,{\left (11015 \, d + 36353 \, e\right )} x^{3} +{\left (193765 \, d + 28307 \, e\right )} x^{2} +{\left (89895 \, d + 57761 \, e\right )} x + 64765 \, d - 19533 \, e}{196000 \,{\left (5 \, x^{2} + 2 \, x + 3\right )}^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]